package com.epoch.servicecourse.service.impl;

import com.epoch.servicecourse.bean.Type;
import com.epoch.servicecourse.dao.TypeDao;
import com.epoch.servicecourse.service.TypeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author admin
 */
@Slf4j
@Service
public class TypeServiceImpl implements TypeService {
    @Autowired
    private TypeDao typeDao;

    @Override
    public Type getTypeById(String typeId){
        return typeDao.getTypeById(typeId);
    }

}
